Skip to content

Add Permissions to Ultralytics Actions format.yml#21

Merged
glenn-jocher merged 1 commit intomainfrom
update-format-workflow-20250511015512
May 11, 2025
Merged

Add Permissions to Ultralytics Actions format.yml#21
glenn-jocher merged 1 commit intomainfrom
update-format-workflow-20250511015512

Conversation

@glenn-jocher
Copy link
Copy Markdown
Member

@glenn-jocher glenn-jocher commented May 10, 2025

This pull request significantly enhances the Ultralytics Actions workflow, introducing permissions for security best practices, alongside intelligent issue and PR handling. This includes automatic labeling, spam detection, abuse identification, and off-topic filtering. These updates ensure a more efficient and organized workflow, adhering to the latest Ultralytics standards.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Improves the automated workflow for formatting code and documentation, adding enhanced permissions and new AI-powered features. 🚀

📊 Key Changes

  • Expanded workflow permissions to allow writing to code, PRs, and issues.
  • Updated the workflow job name from "format" to "actions" for clarity.
  • Enhanced formatting steps, including:
    • AI-powered auto-labeling for issues and PRs.
    • Improved Python formatting using Ruff and docformatter.
    • More robust spelling checks with codespell.
    • Optional broken link checking with Lychee.
    • AI-generated PR summaries and comments using OpenAI and Brave APIs.

🎯 Purpose & Impact

  • Ensures consistent code and documentation formatting across all PRs.
  • Automates labeling and summarization, saving reviewers time and improving clarity.
  • Strengthens quality control with better spelling and formatting tools.
  • Makes the development process smoother and more efficient for contributors and maintainers. ✨

@UltralyticsAssistant UltralyticsAssistant added devops GitHub Devops or MLops enhancement New feature or request labels May 10, 2025
@UltralyticsAssistant
Copy link
Copy Markdown
Member

👋 Hello @glenn-jocher, thank you for submitting an ultralytics/miniTimeCube 🚀 PR! To ensure a seamless integration of your work, please review the following checklist:

  • Define a Purpose: Clearly explain the purpose of your fix or feature in your PR description, and link to any relevant issues. Ensure your commit messages are clear, concise, and adhere to the project's conventions.
  • Synchronize with Source: Confirm your PR is synchronized with the ultralytics/miniTimeCube main branch. If it's behind, update it by clicking the 'Update branch' button or by running git pull and git merge main locally.
  • Ensure CI Checks Pass: Verify all Ultralytics Continuous Integration (CI) checks are passing. If any checks fail, please address the issues.
  • Update Documentation: Update the relevant documentation for any new or modified features.
  • Add Tests: If applicable, include or update tests to cover your changes, and confirm that all tests are passing.
  • Sign the CLA: Please ensure you have signed our Contributor License Agreement if this is your first Ultralytics PR by writing "I have read the CLA Document and I sign the CLA" in a new message.
  • Minimize Changes: Limit your changes to the minimum necessary for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee

For more guidance, please refer to our Contributing Guide. Don’t hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀

This is an automated response. An Ultralytics engineer will review your PR and assist you soon. 💡🤖

@glenn-jocher glenn-jocher merged commit 62b36fd into main May 11, 2025
1 check passed
@glenn-jocher glenn-jocher deleted the update-format-workflow-20250511015512 branch May 11, 2025 00:06
@UltralyticsAssistant
Copy link
Copy Markdown
Member

Fantastic work, @glenn-jocher! 🚀 This PR takes automation and quality control in miniTimeCube to the next level. As Helen Keller said, "Alone we can do so little; together we can do so much." Your efforts in enhancing our workflows, adding AI-powered features, and refining our processes make a real difference—empowering the whole team to focus on what matters most. Thank you for your dedication and innovation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops GitHub Devops or MLops enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants